/*1*/ package Vista;
/*2*/ 
/*3*/ import Controlador.ControladorPrincipal;
/*4*/ 
/*5*/ /**
       * Clase VistaHome genera la vista de bienvenida del sistema
       * (primera vista).
       */
/*9*/ public class VistaHome extends javax.swing.JFrame {
/*10*/ 
/*11*/     private ControladorPrincipal controladorP;
/*12*/ 
/*13*/     /** Creates new form VistaHome */
/*14*/         /**
     * constructor de la clase VistaHome
     * inicializa los componentes de la vista
     * @param controlador asigna controlador recibido en la instanciación de la clase
     */
/*18*/     public VistaHome(ControladorPrincipal controlador) {
/*19*/         this.controladorP = controlador;
/*20*/         initComponents();
/*21*/     }
/*22*/ 
/*23*/     @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel3 = new javax.swing.JPanel();
        rB10 = new javax.swing.JRadioButton();
        jLabel10 = new javax.swing.JLabel();
        rB11 = new javax.swing.JRadioButton();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        rB12 = new javax.swing.JRadioButton();
        jLabel13 = new javax.swing.JLabel();
        rB13 = new javax.swing.JRadioButton();
        jLabel14 = new javax.swing.JLabel();
        rB14 = new javax.swing.JRadioButton();
        jLabel15 = new javax.swing.JLabel();
        rB15 = new javax.swing.JRadioButton();
        jLabel16 = new javax.swing.JLabel();
        rB16 = new javax.swing.JRadioButton();
        jLabel17 = new javax.swing.JLabel();
        rB17 = new javax.swing.JRadioButton();
        jLabel18 = new javax.swing.JLabel();
        rB18 = new javax.swing.JRadioButton();
        jLabel19 = new javax.swing.JLabel();
        rB19 = new javax.swing.JRadioButton();
        jLabel20 = new javax.swing.JLabel();
        rB20 = new javax.swing.JRadioButton();
        jLabel21 = new javax.swing.JLabel();
        rB21 = new javax.swing.JRadioButton();
        jPanel2 = new javax.swing.JPanel();
        bCargarArchivos = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel3.setName("jPanel3"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(proyectodetitulo.ProyectoDeTituloApp.class).getContext().getResourceMap(VistaHome.class);
        rB10.setFont(resourceMap.getFont("rB10.font")); // NOI18N
        rB10.setSelected(true);
        rB10.setEnabled(false);
        rB10.setName("rB10"); // NOI18N

        jLabel10.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        rB11.setFont(resourceMap.getFont("rB11.font")); // NOI18N
        rB11.setEnabled(false);
        rB11.setName("rB11"); // NOI18N

        jLabel11.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel11.setForeground(resourceMap.getColor("jLabel11.foreground")); // NOI18N
        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        jLabel12.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel12.setForeground(resourceMap.getColor("jLabel12.foreground")); // NOI18N
        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N

        rB12.setFont(resourceMap.getFont("rB12.font")); // NOI18N
        rB12.setEnabled(false);
        rB12.setName("rB12"); // NOI18N

        jLabel13.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel13.setForeground(resourceMap.getColor("jLabel13.foreground")); // NOI18N
        jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
        jLabel13.setName("jLabel13"); // NOI18N

        rB13.setFont(resourceMap.getFont("rB13.font")); // NOI18N
        rB13.setEnabled(false);
        rB13.setName("rB13"); // NOI18N

        jLabel14.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel14.setForeground(resourceMap.getColor("jLabel14.foreground")); // NOI18N
        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        rB14.setFont(resourceMap.getFont("rB14.font")); // NOI18N
        rB14.setEnabled(false);
        rB14.setName("rB14"); // NOI18N

        jLabel15.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel15.setForeground(resourceMap.getColor("jLabel15.foreground")); // NOI18N
        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N

        rB15.setFont(resourceMap.getFont("rB15.font")); // NOI18N
        rB15.setEnabled(false);
        rB15.setName("rB15"); // NOI18N

        jLabel16.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel16.setForeground(resourceMap.getColor("jLabel16.foreground")); // NOI18N
        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N

        rB16.setFont(resourceMap.getFont("rB16.font")); // NOI18N
        rB16.setEnabled(false);
        rB16.setName("rB16"); // NOI18N

        jLabel17.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel17.setForeground(resourceMap.getColor("jLabel17.foreground")); // NOI18N
        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N

        rB17.setFont(resourceMap.getFont("rB17.font")); // NOI18N
        rB17.setEnabled(false);
        rB17.setName("rB17"); // NOI18N

        jLabel18.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel18.setForeground(resourceMap.getColor("jLabel18.foreground")); // NOI18N
        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N

        rB18.setFont(resourceMap.getFont("rB18.font")); // NOI18N
        rB18.setEnabled(false);
        rB18.setName("rB18"); // NOI18N

        jLabel19.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel19.setForeground(resourceMap.getColor("jLabel19.foreground")); // NOI18N
        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N

        rB19.setFont(resourceMap.getFont("rB19.font")); // NOI18N
        rB19.setEnabled(false);
        rB19.setName("rB19"); // NOI18N

        jLabel20.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel20.setForeground(resourceMap.getColor("jLabel20.foreground")); // NOI18N
        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N

        rB20.setFont(resourceMap.getFont("rB20.font")); // NOI18N
        rB20.setEnabled(false);
        rB20.setName("rB20"); // NOI18N

        jLabel21.setFont(resourceMap.getFont("jLabel10.font")); // NOI18N
        jLabel21.setForeground(resourceMap.getColor("jLabel21.foreground")); // NOI18N
        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N

        rB21.setFont(resourceMap.getFont("rB21.font")); // NOI18N
        rB21.setEnabled(false);
        rB21.setName("rB21"); // NOI18N

        org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB10)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel11))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB12)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel12))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB13)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel13))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB14)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel14))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB15)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel15))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB16)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel16))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB17)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel17))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB18)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel18))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB19)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel19))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB20)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel20))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB21)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel21))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(rB11)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel10)))
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                .add(23, 23, 23)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(rB11)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel3Layout.createSequentialGroup()
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel11, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3Layout.createSequentialGroup()
                        .add(12, 12, 12)
                        .add(rB10)))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB12)
                    .add(jLabel12, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB13)
                    .add(jLabel13, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB14)
                    .add(jLabel14, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB15)
                    .add(jLabel15, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB16)
                    .add(jLabel16, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB17)
                    .add(jLabel17, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB18)
                    .add(jLabel18, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB19)
                    .add(jLabel19, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB20)
                    .add(jLabel20, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 27, Short.MAX_VALUE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(rB21)
                    .add(jLabel21, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 34, Short.MAX_VALUE))
                .add(182, 182, 182))
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel2.border.title"))); // NOI18N
        jPanel2.setName("jPanel2"); // NOI18N

        bCargarArchivos.setText(resourceMap.getString("bCargarArchivos.text")); // NOI18N
        bCargarArchivos.setName("bCargarArchivos"); // NOI18N
        bCargarArchivos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bCargarArchivosActionPerformed(evt);
            }
        });

        jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jLabel2.setFont(resourceMap.getFont("jLabel2.font")); // NOI18N
        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        jLabel3.setFont(resourceMap.getFont("jLabel3.font")); // NOI18N
        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        jLabel4.setIcon(resourceMap.getIcon("jLabel4.icon")); // NOI18N
        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N

        org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup()
                .addContainerGap(865, Short.MAX_VALUE)
                .add(bCargarArchivos)
                .addContainerGap())
            .add(jPanel2Layout.createSequentialGroup()
                .add(137, 137, 137)
                .add(jLabel1)
                .addContainerGap(191, Short.MAX_VALUE))
            .add(jPanel2Layout.createSequentialGroup()
                .add(43, 43, 43)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 86, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                        .add(jLabel3)
                        .add(jLabel2)))
                .addContainerGap(61, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2Layout.createSequentialGroup()
                .add(36, 36, 36)
                .add(jLabel4)
                .add(86, 86, 86)
                .add(jLabel1)
                .add(18, 18, 18)
                .add(jLabel2)
                .add(104, 104, 104)
                .add(jLabel3)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 147, Short.MAX_VALUE)
                .add(bCargarArchivos)
                .add(8, 8, 8))
        );

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
/*372*/ 
/*373*/        /**
     * Evento accionado al presionar botón bCargarArchivos "continuar". llama al metodo irControladorCargarArchivos() de la clase ControladorPrincipal
     * @param evt Evento del botón
     */
/*377*/     private void bCargarArchivosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bCargarArchivosActionPerformed
/*378*/         // TODO add your handling code here:
/*379*/         this.controladorP.irControladorCargarArchivos();
/*380*/ }//GEN-LAST:event_bCargarArchivosActionPerformed
/*381*/     /**
             * @param args the command line arguments
             */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton bCargarArchivos;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JRadioButton rB10;
    private javax.swing.JRadioButton rB11;
    private javax.swing.JRadioButton rB12;
    private javax.swing.JRadioButton rB13;
    private javax.swing.JRadioButton rB14;
    private javax.swing.JRadioButton rB15;
    private javax.swing.JRadioButton rB16;
    private javax.swing.JRadioButton rB17;
    private javax.swing.JRadioButton rB18;
    private javax.swing.JRadioButton rB19;
    private javax.swing.JRadioButton rB20;
    private javax.swing.JRadioButton rB21;
    // End of variables declaration//GEN-END:variables
/*417*/ }
